package com.easysan.design.pattern.creational.builder.v2;

/**
 * @author 13545
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @date 2021/9/13 22:09
 */
public class test {

    public static void main(String[] args) {
        Course.CourseBuilder courseBuilder = new Course.CourseBuilder();
        Course course = courseBuilder.buildCourseArticle("111").buildCourseName("222").buildCoursePPT("333")
                .buildCourseQA("444").buildCourseVideo("555").build();
        System.out.println(course);
    }
}
